package com.huluobo.a2109kotlinshopping.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.huluobo.a2109kotlinshopping.cart.CartBean
import com.huluobo.a2109kotlinshopping.login.UserBean
import com.huluobo.a2109kotlinshopping.order.OrderPayBean

/**
 *  Created by LC on 2024/1/12.
 */
@Database(
    entities = [UserBean::class, Money::class, CartBean::class, OrderPayBean::class],
    version = 1,
    exportSchema = false
)
abstract class AppDatabase : RoomDatabase() {
    abstract fun userInfoDao(): UserInfoDao
    abstract fun moneyDao(): MoneyDao
    abstract fun orderDao(): OrderDao
    abstract fun orderPayDao(): OrderPayDao
}